package com.ys.http.api;

import com.ys.http.entry.Resp;

import java.util.Map;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.HeaderMap;
import retrofit2.http.POST;
import retrofit2.http.Url;

public interface UploadLoadApi {

    @POST
    <T> Observable<Resp<String>> upload(@Url String url, @HeaderMap Map<String, String> headers, @Body RequestBody body);

}
